package com.cjw.campus.system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cjw.campus.system.entity.MatriculationYearTable;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cjw.campus.system.vo.MatriculationYearTableVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 入学年份表 Mapper 接口
 * </p>
 *
 * @author cjw
 * @since 2022-11-21
 */
public interface MatriculationYearTableMapper extends BaseMapper<MatriculationYearTable> {

    IPage<MatriculationYearTableVO> listPageByYear(IPage<MatriculationYearTableVO> page);

    IPage<MatriculationYearTableVO> listPageByYearCodeAndName(IPage<MatriculationYearTableVO> page, @Param("matriculationYearCode") String matriculationYearCode, @Param("matriculationYearName") String matriculationYearName);

    MatriculationYearTableVO listByYearId(@Param("matriculationYearId") Long matriculationYearId);

}
